package org.dromara.system.domain;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.math.BigDecimal;

import java.io.Serial;
import java.util.Date;

/**
 * 机具信息对象 sys_user_machine
 *
 * @author Lion Li
 * @date 2025-07-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_user_machine")
public class SysUserMachine extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(value = "id")
    private Long id;

    /**
     *
     */
    private Long userId;

    /**
     *
     */
    private String sn;

    /**
     * 交易金额
     */
    private BigDecimal dealSum;


    private String merchantCode;

    private String merchantName;

    private Integer simCount;

    private Long machinePolicyId;

    private Long brandId;

    private Long lineId;

    private Long MachineModelId;

    private Integer isStageBack;

    //是否达标返现
    private Integer isCompleteBack;

    //押金
    private BigDecimal deposit;

    private Long bindUserId;

    private Date bindTime;

    private  BigDecimal  dealCashBackSumTag;

    private  Integer dealCashBackCount;
    /**
     * 备注
     */
    private String remark;

    /**
     * 删除标志（0代表存在 1代表删除）
     */
    @TableLogic
    private String delFlag;


}
